import ReactDOM from 'react-dom/client';
import { RouterProvider } from 'react-router-dom';
import { Provider } from 'react-redux';
import { KeepAliveProvider } from 'keepalive-react-component';
import '@/assets/style/index.less';
import router from './router';
import store from './store';

ReactDOM.createRoot(document.getElementById('root')).render(
  <Provider store={store}>
    <KeepAliveProvider>
      <RouterProvider router={router} />
    </KeepAliveProvider>
  </Provider>
);
